/*
 * @Author: your name
 * @Date: 2020-12-29 22:19:51
 * @LastEditTime: 2021-03-17 00:17:31
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \xu\shop_manager\shop_vue\src\plugins\element.js
 */
import { Button, Form, FormItem, Input, Message, Container, Main, Header, Aside,
Main, Menu, Submenu, MenuItem, Breadcrumb, Card, Row, Col, Table, 
TableColumn, Switch, Tooltip, Pagination, Dialog, MessageBox, Tag, Tree, Select, 
Option, Cascader, Alert, Tabs, TabPane, Steps, Step, CheckboxGroup, Checkbox,
Upload, Timeline, TimelineItem } from 'element-ui'
import Vue from 'vue'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Main)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(Breadcrumb)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Steps)
Vue.use(Step)
Vue.use(CheckboxGroup)
Vue.use(Checkbox)
Vue.use(Upload)
Vue.use(Timeline)
Vue.use(TimelineItem)
// 挂载为vue上的属性
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm